package com.training;

class mythread extends Thread {
	public void run() {
		System.out.println("Starting my thread");
	}
}
public class Example_1 {
	public static void main (String args[]) {
		mythread mt1=new mythread();
		mt1.start();
	}
}